package com.suneast.suneaststore.modules.personal.info;

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.design.widget.TabLayout;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.FrameLayout;

import com.suneast.suneaststore.R;
import com.suneast.suneaststore.ui.fragments.BaseFragment;

import butterknife.BindView;

public class AboutUsFragment extends BaseFragment {
    @Override
    public int setLayout() {
        return R.layout.fragment_about_us;
    }

    @Override
    public void onBindView(@Nullable Bundle savedInstanceState, @NonNull View rootView) {
        toolbar.setNavigationOnClickListener(v -> pop());
        aboutUsTab.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() {
            @Override
            public void onTabSelected(TabLayout.Tab tab) {

            }

            @Override
            public void onTabUnselected(TabLayout.Tab tab) {

            }

            @Override
            public void onTabReselected(TabLayout.Tab tab) {

            }
        });
    }

    @BindView(R.id.toolbar)
    Toolbar toolbar;

    @BindView(R.id.tab_about_us)
    TabLayout aboutUsTab;
    @BindView(R.id.frame_content)
    FrameLayout contentFrame;

}
